/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | noekeon.c | 41 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \ 42 b ^= temp; d ^= temp; \ 43 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \ 44 a ^= temp; c ^= temp; 47 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \ 48 b ^= temp ^ k[1]; d ^= temp ^ k[3]; \ 49 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \ 50 a ^= temp ^ k[0]; c ^= temp ^ k[2]; 55 temp = d; d = a; a = temp;\ 76 ulong32 temp; in noekeon_setup() local [all …]
|
A D | kasumi.c | 142 ulong32 left, right, temp; in kasumi_ecb_encrypt() local 153 temp = FL(left, n, skey); in kasumi_ecb_encrypt() 154 temp = FO(temp, n++, skey); in kasumi_ecb_encrypt() 155 right ^= temp; in kasumi_ecb_encrypt() 157 temp = FL(temp, n++, skey); in kasumi_ecb_encrypt() 158 left ^= temp; in kasumi_ecb_encrypt() 169 ulong32 left, right, temp; in kasumi_ecb_decrypt() local 181 temp = FL(temp, n--, skey); in kasumi_ecb_decrypt() 182 left ^= temp; in kasumi_ecb_decrypt() 184 temp = FO(temp, n--, skey); in kasumi_ecb_decrypt() [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/aes/ |
A D | aes.c | 124 ulong32 temp, *rk; in SETUP() local 167 temp = rk[5]; in SETUP() 189 temp = rk[7]; in SETUP() 228 temp = rrk[0]; in SETUP() 230 temp = rrk[1]; in SETUP() 232 temp = rrk[2]; in SETUP() 234 temp = rrk[3]; in SETUP() 237 temp = rrk[0]; in SETUP() 243 temp = rrk[1]; in SETUP() 249 temp = rrk[2]; in SETUP() [all …]
|
/optee_os/ta/pkcs11/src/ |
A D | pkcs11_attributes.c | 303 struct obj_attrs *temp, in set_attributes_opt_or_null() argument 474 struct obj_attrs *temp) in create_storage_attributes() argument 484 class = get_class(temp); in create_storage_attributes() 513 type = get_key_type(temp); in create_genkey_attributes() 539 struct obj_attrs *temp) in create_symm_key_attributes() argument 716 struct obj_attrs *temp, in create_pub_key_attributes() argument 888 get_key_type(*temp), id2str_key_type(get_key_type(*temp))); in sanitize_symm_key_attributes() 1011 *out = temp; in create_attributes_from_template() 1084 switch (get_class(temp)) { in create_attributes_from_template() 1105 get_class(temp), id2str_class(get_class(temp))); in create_attributes_from_template() [all …]
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | blowfish.c | 98 uint32_t Xl, Xr, temp; in blowfish_enc() local 109 temp = Xl; in blowfish_enc() 111 Xr = temp; in blowfish_enc() 114 temp = Xl; in blowfish_enc() 116 Xr = temp; in blowfish_enc() 127 uint32_t Xl, Xr, temp; in blowfish_dec() local 138 temp = Xl; in blowfish_dec() 140 Xr = temp; in blowfish_dec() 143 temp = Xl; in blowfish_dec() 145 Xr = temp; in blowfish_dec() [all …]
|
A D | xtea.c | 142 unsigned char temp[8]; in mbedtls_xtea_crypt_cbc() local 151 memcpy( temp, input, 8 ); in mbedtls_xtea_crypt_cbc() 157 memcpy( iv, temp, 8 ); in mbedtls_xtea_crypt_cbc()
|
A D | des.c | 668 unsigned char temp[8]; in mbedtls_des_crypt_cbc() local 692 memcpy( temp, input, 8 ); in mbedtls_des_crypt_cbc() 698 memcpy( iv, temp, 8 ); in mbedtls_des_crypt_cbc() 767 unsigned char temp[8]; in mbedtls_des3_crypt_cbc() local 791 memcpy( temp, input, 8 ); in mbedtls_des3_crypt_cbc() 797 memcpy( iv, temp, 8 ); in mbedtls_des3_crypt_cbc()
|
A D | camellia.c | 575 unsigned char temp[16]; in mbedtls_camellia_crypt_cbc() local 590 memcpy( temp, input, 16 ); in mbedtls_camellia_crypt_cbc() 596 memcpy( iv, temp, 16 ); in mbedtls_camellia_crypt_cbc()
|
A D | aria.c | 621 unsigned char temp[MBEDTLS_ARIA_BLOCKSIZE]; in mbedtls_aria_crypt_cbc() local 637 memcpy( temp, input, MBEDTLS_ARIA_BLOCKSIZE ); in mbedtls_aria_crypt_cbc() 643 memcpy( iv, temp, MBEDTLS_ARIA_BLOCKSIZE ); in mbedtls_aria_crypt_cbc()
|
A D | sha1.c | 130 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_internal_sha1_process() member 157 local.temp = local.W[( (t) - 3 ) & 0x0F] ^ \ in mbedtls_internal_sha1_process() 161 ( local.W[(t) & 0x0F] = S(local.temp,1) ) \ in mbedtls_internal_sha1_process()
|
A D | aes.c | 1055 unsigned char temp[16]; in mbedtls_aes_crypt_cbc() local 1083 memcpy( temp, input, 16 ); in mbedtls_aes_crypt_cbc() 1089 memcpy( iv, temp, 16 ); in mbedtls_aes_crypt_cbc()
|
/optee_os/core/crypto/ |
A D | sm4.c | 220 uint8_t temp[16]; in sm4_crypt_cbc() local 237 memcpy(temp, input, 16); in sm4_crypt_cbc() 241 memcpy(iv, temp, 16); in sm4_crypt_cbc() 253 uint8_t temp[16]; in sm4_crypt_ctr() local 258 memcpy(temp, ctr, 16); in sm4_crypt_ctr() 262 memcpy(ctr, temp, 16); in sm4_crypt_ctr()
|
/optee_os/core/tee/ |
A D | tee_rpmb_fs.c | 2810 char temp; in rpmb_fs_dir_populate() local 2830 temp = filename[pathlen]; in rpmb_fs_dir_populate() 2835 filename[pathlen] = temp; in rpmb_fs_dir_populate()
|