Home
last modified time | relevance | path

Searched refs:ciphertext (Results 1 – 25 of 50) sorted by relevance

12

/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/
H A Daes_taf.c51 const unsigned char *ciphertext = params[0].memref.buffer; in ta_entry_aes256ecb_encrypt() local
55 &ciphertext[i * (AES_BLOCK_SIZE / 8)], in ta_entry_aes256ecb_encrypt()
92 const unsigned char *ciphertext = params[0].memref.buffer; in ta_entry_aes256ecb_decrypt() local
96 &ciphertext[i * (AES_BLOCK_SIZE / 8)], in ta_entry_aes256ecb_decrypt()
H A Daes_impl.c696 #define PUTU32(ciphertext, st) { (ciphertext)[0] = (u8)((st) >> 24); \ argument
697 (ciphertext)[1] = (u8)((st) >> 16); \
698 (ciphertext)[2] = (u8)((st) >> 8); \
699 (ciphertext)[3] = (u8)(st); }
839 u8 ciphertext[16]) in rijndaelEncrypt()
1026 PUTU32(ciphertext, s0); in rijndaelEncrypt()
1031 PUTU32(ciphertext + 4, s1); in rijndaelEncrypt()
1036 PUTU32(ciphertext + 8, s2); in rijndaelEncrypt()
1041 PUTU32(ciphertext + 12, s3); in rijndaelEncrypt()
1044 void rijndaelDecrypt(const u32 *rk, int nrounds, const u8 ciphertext[16], in rijndaelDecrypt()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dfips140-selftests.c73 const u8 *ciphertext; member
84 const u8 *ciphertext; member
214 err = fips_check_result(block, vec->ciphertext, AES_BLOCK_SIZE, in fips_test_aes_library()
277 err = fips_check_result(message, vec->ciphertext, vec->message_size, in fips_test_skcipher()
371 err = fips_check_result(message, vec->ciphertext, vec->ciphertext_size, in fips_test_aead()
581 .ciphertext = fips_aes_ecb_ciphertext,
654 .ciphertext = fips_aes_ecb_ciphertext,
697 .ciphertext = fips_aes_cbc_ciphertext,
720 .ciphertext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
741 .ciphertext = fips_aes_ctr_ciphertext,
[all …]
H A Dkhazad.c803 u8 *ciphertext, const u8 *plaintext) in khazad_crypt() argument
806 __be64 *dst = (__be64 *)ciphertext; in khazad_crypt()
H A Danubis.c573 u8 *ciphertext, const u8 *plaintext, const int R) in anubis_crypt() argument
576 __be32 *dst = (__be32 *)ciphertext; in anubis_crypt()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/include/
H A Daes_impl.h18 unsigned char ciphertext[16]);
21 const unsigned char ciphertext[16],
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/gnutls/gnutls/
H A DCVE-2023-0361.patch26 gnutls_datum_t ciphertext;
49 - 0, &ciphertext, session->key.key.data,
52 + 0, &ciphertext, session->key.key.data,
/OK3568_Linux_fs/external/security/rk_tee_user/v2/tools/ta_resign_tool-release/linux/
H A Dresign_ta.py162 ciphertext = img[0x174:len(img)]
166 img = cipher.decrypt_and_verify(ciphertext, tag)
204 f.write(ciphertext)
/OK3568_Linux_fs/kernel/tools/crypto/
H A Dgen_fips140_testvecs.py101 ciphertext = xts.update(message) + xts.finalize()
102 print_value('aes_xts_ciphertext', ciphertext)
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/
H A Dhrss.h86 const uint8_t *ciphertext, size_t ciphertext_len);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/
H A Dhrss.h86 const uint8_t *ciphertext, size_t ciphertext_len);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/
H A Dhrss.h86 const uint8_t *ciphertext, size_t ciphertext_len);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/
H A Dhrss.h86 const uint8_t *ciphertext, size_t ciphertext_len);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/scripts/
H A Dsign_encrypt.py200 ciphertext, tag = cipher.encrypt_and_digest(img)
228 f.write(ciphertext)
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/scripts/
H A Dsign_encrypt.py200 ciphertext, tag = cipher.encrypt_and_digest(img)
228 f.write(ciphertext)
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/
H A Dtee_fs_key_manager.h69 uint8_t *ciphertext, size_t *ciphertext_size,
/OK3568_Linux_fs/kernel/Documentation/crypto/
H A Duserspace-if.rst94 ciphertext in different memory locations, all a consumer needs to do is
237 with the plaintext / ciphertext. See below for the memory structure.
263 - plaintext or ciphertext
279 - AEAD decryption input: AAD \|\| ciphertext \|\| authentication tag
284 - AEAD encryption output: ciphertext \|\| authentication tag
388 provided ciphertext is assumed to contain an authentication tag of
/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Drtl871x_security.c859 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext) in aes128k128d() argument
871 xor_128(round_key, data, ciphertext); in aes128k128d()
874 byte_sub(ciphertext, intermediatea); in aes128k128d()
876 xor_128(intermediateb, round_key, ciphertext); in aes128k128d()
878 byte_sub(ciphertext, intermediatea); in aes128k128d()
884 xor_128(intermediatea, round_key, ciphertext); in aes128k128d()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dfscrypt.rst118 "locked", i.e. in ciphertext or encrypted form.
221 resulting ciphertext is used as the derived key. If the ciphertext is
242 files doesn't map to the same ciphertext, or vice versa. In most
363 with ciphertext expansion.
804 be in plaintext form or in ciphertext form) is global. This mismatch
1068 give the length of the ciphertext, which will be slightly longer
1078 for an encrypted file contains the plaintext, not the ciphertext.
1090 listed in an encoded form derived from their ciphertext. The
1193 read the ciphertext into the page cache and decrypt it in-place. The
1231 directories.) Instead, filesystems hash the ciphertext filenames,
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_security.c922 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext);
1069 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext) in aes128k128d() argument
1082 xor_128(round_key, data, ciphertext); in aes128k128d()
1085 byte_sub(ciphertext, intermediatea); in aes128k128d()
1087 xor_128(intermediateb, round_key, ciphertext); in aes128k128d()
1089 byte_sub(ciphertext, intermediatea); in aes128k128d()
1095 xor_128(intermediatea, round_key, ciphertext); in aes128k128d()
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Daesni-intel_avx-x86_64.S309 mov arg5, %r13 # save the number of bytes of plaintext/ciphertext
495 vpshufb SHUF_MASK(%rip), %xmm9, %xmm9 # shuffle xmm9 back to output as ciphertext
854 # shuffle xmm9 back to output as ciphertext
997 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext
1058 … vmovdqu reg_i, (arg3 , %r11) # write back ciphertext for num_initial_blocks blocks
1063 vpshufb SHUF_MASK(%rip), reg_i, reg_i # prepare ciphertext for GHASH computations
1217 …pxor TMP1(%rsp), \XMM1, \XMM1 # combine GHASHed value with the corresponding ciphertext
1233 # ghash the 8 previously encrypted ciphertext blocks
1602 # GHASH the last 4 ciphertext blocks.
1945 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_security.c1036 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext);
1176 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext) in aes128k128d() argument
1188 xor_128(round_key, data, ciphertext); in aes128k128d()
1191 byte_sub(ciphertext, intermediatea); in aes128k128d()
1193 xor_128(intermediateb, round_key, ciphertext); in aes128k128d()
1195 byte_sub(ciphertext, intermediatea); in aes128k128d()
1201 xor_128(intermediatea, round_key, ciphertext); in aes128k128d()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_security.c1036 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext);
1176 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext) in aes128k128d() argument
1188 xor_128(round_key, data, ciphertext); in aes128k128d()
1191 byte_sub(ciphertext, intermediatea); in aes128k128d()
1193 xor_128(intermediateb, round_key, ciphertext); in aes128k128d()
1195 byte_sub(ciphertext, intermediatea); in aes128k128d()
1201 xor_128(intermediatea, round_key, ciphertext); in aes128k128d()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_security.c1036 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext);
1176 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext) in aes128k128d() argument
1188 xor_128(round_key, data, ciphertext); in aes128k128d()
1191 byte_sub(ciphertext, intermediatea); in aes128k128d()
1193 xor_128(intermediateb, round_key, ciphertext); in aes128k128d()
1195 byte_sub(ciphertext, intermediatea); in aes128k128d()
1201 xor_128(intermediatea, round_key, ciphertext); in aes128k128d()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_security.c1036 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext);
1176 static void aes128k128d(u8 *key, u8 *data, u8 *ciphertext) in aes128k128d() argument
1188 xor_128(round_key, data, ciphertext); in aes128k128d()
1191 byte_sub(ciphertext, intermediatea); in aes128k128d()
1193 xor_128(intermediateb, round_key, ciphertext); in aes128k128d()
1195 byte_sub(ciphertext, intermediatea); in aes128k128d()
1201 xor_128(intermediatea, round_key, ciphertext); in aes128k128d()

12