/aosp_15_r20/external/tink/java_src/examples/deterministicaead/ |
H A D | deterministic_aead_test.sh | 25 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 27 echo "This is some plaintext to be encrypted." > ${DATA_FILE} 49 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" 64 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" 73 if cmp -s $DATA_FILE "$DATA_FILE.decrypted"; then 86 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted1" 87 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted2" 89 if cmp -s "${DATA_FILE}.encrypted1" "${DATA_FILE}.encrypted2"; then 102 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" 111 echo "modified" >> ${DATA_FILE}.encrypted [all …]
|
/aosp_15_r20/external/tink/python/examples/deterministic_aead/ |
H A D | deterministic_aead_test.sh | 26 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 28 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 54 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" 69 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" 78 if cmp -s "${DATA_FILE}" "$DATA_FILE.decrypted"; then 91 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted1" 94 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted2" 96 if cmp -s "${DATA_FILE}.encrypted1" "${DATA_FILE}.encrypted2"; then 109 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" 119 echo "modified" >> "${DATA_FILE}.encrypted" [all …]
|
/aosp_15_r20/external/tink/cc/examples/mac/ |
H A D | mac_cli_test.sh | 27 readonly DATA_FILE="${TEST_TMPDIR}/example_data.txt" 30 echo "This is some input data to be authenticated." > "${DATA_FILE}" 115 --data_filename "${DATA_FILE}" \ 116 --tag_filename "${DATA_FILE}.tag" 129 --data_filename "${DATA_FILE}" \ 130 --tag_filename "${DATA_FILE}.tag" 143 --data_filename "${DATA_FILE}" \ 144 --tag_filename "${DATA_FILE}.tag" 148 cp "${DATA_FILE}" "${DATA_FILE}.copy" 154 --data_filename "${DATA_FILE}.copy" \ [all …]
|
/aosp_15_r20/external/tink/java_src/examples/aead/ |
H A D | aead_example_test.sh | 25 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 27 echo "This is some plaintext to be encrypted." > ${DATA_FILE} 49 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" 64 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" 73 if cmp -s $DATA_FILE "$DATA_FILE.decrypted"; then 86 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" 95 echo "modified" >> ${DATA_FILE}.encrypted 98 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" 113 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCIATED_DATA… 122 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" "${ASSOC… [all …]
|
/aosp_15_r20/external/tink/python/examples/aead/ |
H A D | aead_test.sh | 26 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 28 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 54 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" 69 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" 78 if cmp -s "${DATA_FILE}" "$DATA_FILE.decrypted"; then 92 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" 102 echo "modified" >> "${DATA_FILE}.encrypted" 106 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" 122 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" \ 134 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" \ [all …]
|
/aosp_15_r20/external/tink/cc/examples/hybrid_encryption/ |
H A D | hybrid_cli_test.sh | 28 readonly DATA_FILE="${TEST_TMPDIR}/example_data.txt" 31 echo "This is some message to be encrypted." > "${DATA_FILE}" 116 --input_filename "${DATA_FILE}" \ 117 --output_filename "${DATA_FILE}.encrypted" 130 --input_filename "${DATA_FILE}.encrypted" \ 131 --output_filename "${DATA_FILE}.decrypted" 134 test_command cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted" 147 --input_filename "${DATA_FILE}" \ 148 --output_filename "${DATA_FILE}.encrypted" 152 echo "modified" >> "${DATA_FILE}.encrypted" [all …]
|
/aosp_15_r20/external/tink/cc/examples/aead/ |
H A D | aead_cli_test.sh | 27 readonly DATA_FILE="${TEST_TMPDIR}/example_data.txt" 30 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 115 --input_filename "${DATA_FILE}" \ 116 --output_filename "${DATA_FILE}.encrypted" 129 --input_filename "${DATA_FILE}.encrypted" \ 130 --output_filename "${DATA_FILE}.decrypted" 133 test_command cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted" 146 --input_filename "${DATA_FILE}" \ 147 --output_filename "${DATA_FILE}.encrypted" 151 echo "modified" >> "${DATA_FILE}.encrypted" [all …]
|
/aosp_15_r20/external/tink/cc/examples/daead/ |
H A D | deterministic_aead_cli_test.sh | 27 readonly DATA_FILE="${TEST_TMPDIR}/example_data.txt" 30 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 115 --input_filename "${DATA_FILE}" \ 116 --output_filename "${DATA_FILE}.encrypted" 129 --input_filename "${DATA_FILE}.encrypted" \ 130 --output_filename "${DATA_FILE}.decrypted" 133 test_command cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted" 146 --input_filename "${DATA_FILE}" \ 147 --output_filename "${DATA_FILE}.encrypted" 151 echo "modified" >> "${DATA_FILE}.encrypted" [all …]
|
/aosp_15_r20/external/tink/java_src/examples/envelopeaead/ |
H A D | envelope_aead_example_test.sh | 26 DATA_FILE="$TEST_TMPDIR/example_data.txt" 28 echo "This is some plaintext to be encrypted." > ${DATA_FILE} 50 test_command ${CLI} encrypt ${KEY_URI} ${CRED_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" 65 test_command ${CLI} decrypt ${KEY_URI} ${CRED_FILE} "${DATA_FILE}.encrypted" "${DATA_FILE}.decrypte… 74 if cmp -s ${DATA_FILE} "${DATA_FILE}.decrypted"; then 88 test_command ${CLI} encrypt ${KEY_URI} ${CRED_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCI… 97 test_command ${CLI} decrypt ${KEY_URI} ${CRED_FILE} "${DATA_FILE}.encrypted" "${DATA_FILE}.decrypte… 105 cmp --silent ${DATA_FILE} ${DATA_FILE}.decrypted 114 test_command ${CLI} encrypt ${KEY_URI} ${CRED_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCI… 124 test_command ${CLI} decrypt ${KEY_URI} ${CRED_FILE} "${DATA_FILE}.encrypted" "${DATA_FILE}.decrypte…
|
/aosp_15_r20/external/tink/python/examples/envelope_aead/ |
H A D | envelope_test.sh | 32 DATA_FILE="$TEST_TMPDIR/example_data.txt" 34 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 61 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" 77 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" 86 if cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"; then 101 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" \ 114 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" \ 124 cmp --silent "${DATA_FILE}" "${DATA_FILE}.decrypted" 134 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" \ 148 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" \
|
/aosp_15_r20/external/tink/python/examples/encrypted_keyset/ |
H A D | encrypted_keyset_test.sh | 32 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 35 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 77 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" 93 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" 102 if cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"; then 117 --input_path "${DATA_FILE}" \ 118 --output_path "${DATA_FILE}.encrypted" \ 131 --input_path "${DATA_FILE}.encrypted" \ 132 --output_path "${DATA_FILE}.decrypted" \ 142 if cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"; then [all …]
|
/aosp_15_r20/external/tink/java_src/examples/mac/ |
H A D | mac_example_test.sh | 25 DATA_FILE="$TEST_TMPDIR/example_data.txt" 28 echo "This is some message to be verified." > $DATA_FILE 51 $MAC_CLI compute $KEYSET_FILE $DATA_FILE $MAC_FILE 54 test_command $MAC_CLI verify $KEYSET_FILE $DATA_FILE $MAC_FILE 70 $MAC_CLI compute $KEYSET_FILE $DATA_FILE $MAC_FILE 76 test_command $MAC_CLI verify $KEYSET_FILE $DATA_FILE $MAC_FILE 92 $MAC_CLI compute $KEYSET_FILE $DATA_FILE $MAC_FILE 95 echo "modified" >> "$DATA_FILE" 98 test_command $MAC_CLI verify $KEYSET_FILE $DATA_FILE $MAC_FILE 118 test_command $MAC_CLI compute $BAD_KEY_FILE $DATA_FILE $MAC_FILE
|
/aosp_15_r20/external/tink/python/examples/mac/ |
H A D | mac_test.sh | 26 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 29 echo "This is some message to be verified." > "${DATA_FILE}" 55 --data_path "${DATA_FILE}" --mac_path "${MAC_FILE}" 59 --data_path "${DATA_FILE}" --mac_path "${MAC_FILE}" 75 --data_path "${DATA_FILE}" --mac_path "${MAC_FILE}" 82 --data_path "${DATA_FILE}" --mac_path "${MAC_FILE}" 98 --data_path "${DATA_FILE}" --mac_path "${MAC_FILE}" 101 echo "modified" >> "${DATA_FILE}" 105 --data_path "${DATA_FILE}" --mac_path "${MAC_FILE}" 125 --data_path "${DATA_FILE}" --mac_path "${MAC_FILE}"
|
/aosp_15_r20/external/tink/java_src/examples/signature/ |
H A D | signature_example_test.sh | 26 DATA_FILE="$TEST_TMPDIR/example_data.txt" 29 echo "This is some message to be verified." > $DATA_FILE 51 test_command $FILE_SIGN_CLI sign $KEYSET_FILE_PRIVATE $DATA_FILE $SIGNATURE_FILE 54 test_command $FILE_SIGN_CLI verify $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE 72 test_command $FILE_SIGN_CLI verify $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE 88 test_command $FILE_SIGN_CLI sign $KEYSET_FILE_PRIVATE $DATA_FILE $SIGNATURE_FILE 91 echo "ABCABCABCD" >> $DATA_FILE 94 test_command $FILE_SIGN_CLI verify $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE 110 test_command $FILE_SIGN_CLI sign $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE
|
/aosp_15_r20/external/tink/python/examples/signature/ |
H A D | signature_test.sh | 26 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 29 echo "This is some message to be verified." > "${DATA_FILE}" 57 --data_path "${DATA_FILE}" --signature_path "${SIGNATURE_FILE}" 62 --data_path "${DATA_FILE}" --signature_path "${SIGNATURE_FILE}" 82 --data_path "${DATA_FILE}" --signature_path "${SIGNATURE_FILE}" 99 --data_path "${DATA_FILE}" --signature_path "${SIGNATURE_FILE}" 102 echo "ABCABCABCD" >> $DATA_FILE 107 --data_path "${DATA_FILE}" --signature_path "${SIGNATURE_FILE}" 124 --data_path "${DATA_FILE}" --signature_path "${SIGNATURE_FILE}"
|
/aosp_15_r20/external/tink/java_src/examples/cleartextkeyset/ |
H A D | cleartext_keyset_example_test.sh | 24 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 27 echo "This is some plaintext to be encrypted." > ${DATA_FILE} 64 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" 79 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" 88 if cmp -s ${DATA_FILE} "${DATA_FILE}.decrypted"; then
|
/aosp_15_r20/external/tink/python/examples/cleartext_keyset/ |
H A D | cleartext_keyset_test.sh | 25 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 28 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 68 --input_path "${DATA_FILE}" --output_path "${DATA_FILE}.encrypted" 83 --input_path "${DATA_FILE}.encrypted" --output_path "${DATA_FILE}.decrypted" 92 if cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"; then
|
/aosp_15_r20/external/tink/java_src/examples/encryptedkeyset/ |
H A D | encrypted_keyset_example_test.sh | 26 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 29 echo "This is some plaintext to be encrypted." > ${DATA_FILE} 67 ${DATA_FILE} "${DATA_FILE}.encrypted" 83 ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" 92 if cmp -s ${DATA_FILE} "${DATA_FILE}.decrypted"; then
|
/aosp_15_r20/external/tink/java_src/examples/gcs/ |
H A D | gcs_envelope_aead_example_test.sh | 28 DATA_FILE="$TEST_TMPDIR/example_data.txt" 30 echo "This is some plaintext to be encrypted." > ${DATA_FILE} 53 ${DATA_FILE} "${GCS_BUCKET}/example_data.txt.encrypted" 69 "${GCS_BUCKET}/example_data.txt.encrypted" "${DATA_FILE}.decrypted" 78 if cmp -s ${DATA_FILE} "${DATA_FILE}.decrypted"; then
|
/aosp_15_r20/external/tink/python/examples/gcs/ |
H A D | gcs_envelope_aead_test.sh | 36 DATA_FILE="${TEST_TMPDIR}/example_data.txt" 38 echo "This is some plaintext to be encrypted." > "${DATA_FILE}" 67 --local_path "${DATA_FILE}" \ 87 --local_path "${DATA_FILE}.decrypted" 96 if cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"; then
|
/aosp_15_r20/external/eigen/bench/btl/data/ |
H A D | mk_gnuplot_script.sh | 7 DATA_FILE=`find $DIR -name "*.dat" | grep $WHAT` 11 for FILE in $DATA_FILE 18 for FILE in $DATA_FILE 35 for FILE in $DATA_FILE 50 for FILE in $DATA_FILE
|
H A D | mk_mean_script.sh | 15 DATA_FILE=`find $DIR -name "*.dat" | grep _${WHAT}` 17 if [ -n "$DATA_FILE" ]; then 21 for FILE in $DATA_FILE
|
/aosp_15_r20/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiMonitorService.java | 58 private static final String DATA_FILE = "monitor.dat"; field in WifiMonitorService 89 final File file = getFileStreamPath(DATA_FILE); in monitor() 97 out = openFileOutput(DATA_FILE, Context.MODE_APPEND); in monitor() 155 context.deleteFile(DATA_FILE); in clearData() 159 out = context.openFileOutput(DATA_FILE, 0); in clearData() 217 in = context.openFileInput(DATA_FILE); in getData()
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/write/ |
H A D | write06.c | 30 #define DATA_FILE "write06_file" macro 40 fd = SAFE_OPEN(DATA_FILE, O_RDWR | O_CREAT | O_TRUNC, 0666); in verify_write() 44 fd = SAFE_OPEN(DATA_FILE, O_RDWR | O_APPEND); in verify_write() 81 SAFE_UNLINK(DATA_FILE); in cleanup()
|
/aosp_15_r20/external/ltp/testcases/kernel/syscalls/pwrite/ |
H A D | pwrite04.c | 28 #define DATA_FILE "pwrite04_file" macro 48 fd = SAFE_OPEN(DATA_FILE, O_RDWR | O_CREAT | O_TRUNC, 0666); in verify_pwrite() 52 fd = SAFE_OPEN(DATA_FILE, O_RDWR | O_APPEND, 0666); in verify_pwrite() 85 SAFE_UNLINK(DATA_FILE); in cleanup()
|