/optee_os/core/crypto/ |
A D | aes-gcm-ghash-tbl.c | 64 ghash_key->HH[8] = vh; in internal_aes_gcm_ghash_gen_tbl() 67 ghash_key->HH[0] = 0; in internal_aes_gcm_ghash_gen_tbl() 77 ghash_key->HH[i] = vh; in internal_aes_gcm_ghash_gen_tbl() 82 uint64_t *HiH = ghash_key->HH + i; in internal_aes_gcm_ghash_gen_tbl() 87 HiH[j] = vh ^ ghash_key->HH[j]; in internal_aes_gcm_ghash_gen_tbl() 119 zh = ghash_key->HH[lo]; in internal_aes_gcm_ghash_mult_tbl() 131 zh ^= ghash_key->HH[lo]; in internal_aes_gcm_ghash_mult_tbl() 139 zh ^= ghash_key->HH[hi]; in internal_aes_gcm_ghash_mult_tbl()
|
/optee_os/core/lib/libtomcrypt/src/hashes/ |
A D | md4.c | 69 #define HH(a, b, c, d, x, s) { \ macro 131 HH (a, b, c, d, x[ 0], S31); /* 33 */ in _md4_compress() 132 HH (d, a, b, c, x[ 8], S32); /* 34 */ in _md4_compress() 133 HH (c, d, a, b, x[ 4], S33); /* 35 */ in _md4_compress() 134 HH (b, c, d, a, x[12], S34); /* 36 */ in _md4_compress() 135 HH (a, b, c, d, x[ 2], S31); /* 37 */ in _md4_compress() 136 HH (d, a, b, c, x[10], S32); /* 38 */ in _md4_compress() 137 HH (c, d, a, b, x[ 6], S33); /* 39 */ in _md4_compress() 138 HH (b, c, d, a, x[14], S34); /* 40 */ in _md4_compress() 139 HH (a, b, c, d, x[ 1], S31); /* 41 */ in _md4_compress() [all …]
|
A D | md5.c | 51 #define HH(a,b,c,d,M,s,t) \ macro 90 #define HH(a,b,c,d,M,s,t) \ macro 175 HH(a,b,c,d,W[5],4,0xfffa3942UL) in _md5_compress() 176 HH(d,a,b,c,W[8],11,0x8771f681UL) in _md5_compress() 179 HH(a,b,c,d,W[1],4,0xa4beea44UL) in _md5_compress() 180 HH(d,a,b,c,W[4],11,0x4bdecfa9UL) in _md5_compress() 181 HH(c,d,a,b,W[7],16,0xf6bb4b60UL) in _md5_compress() 183 HH(a,b,c,d,W[13],4,0x289b7ec6UL) in _md5_compress() 184 HH(d,a,b,c,W[0],11,0xeaa127faUL) in _md5_compress() 185 HH(c,d,a,b,W[3],16,0xd4ef3085UL) in _md5_compress() [all …]
|
A D | rmd128.c | 139 HH(aa, bb, cc, dd, X[ 3], 11); in _rmd128_compress() 140 HH(dd, aa, bb, cc, X[10], 13); in _rmd128_compress() 141 HH(cc, dd, aa, bb, X[14], 6); in _rmd128_compress() 142 HH(bb, cc, dd, aa, X[ 4], 7); in _rmd128_compress() 143 HH(aa, bb, cc, dd, X[ 9], 14); in _rmd128_compress() 144 HH(dd, aa, bb, cc, X[15], 9); in _rmd128_compress() 145 HH(cc, dd, aa, bb, X[ 8], 13); in _rmd128_compress() 146 HH(bb, cc, dd, aa, X[ 1], 15); in _rmd128_compress() 147 HH(aa, bb, cc, dd, X[ 2], 14); in _rmd128_compress() 148 HH(dd, aa, bb, cc, X[ 7], 8); in _rmd128_compress() [all …]
|
A D | rmd256.c | 177 HH(aa, bb, cc, dd, X[ 3], 11); in _rmd256_compress() 178 HH(dd, aa, bb, cc, X[10], 13); in _rmd256_compress() 179 HH(cc, dd, aa, bb, X[14], 6); in _rmd256_compress() 180 HH(bb, cc, dd, aa, X[ 4], 7); in _rmd256_compress() 181 HH(aa, bb, cc, dd, X[ 9], 14); in _rmd256_compress() 182 HH(dd, aa, bb, cc, X[15], 9); in _rmd256_compress() 183 HH(cc, dd, aa, bb, X[ 8], 13); in _rmd256_compress() 184 HH(bb, cc, dd, aa, X[ 1], 15); in _rmd256_compress() 185 HH(aa, bb, cc, dd, X[ 2], 14); in _rmd256_compress() 186 HH(dd, aa, bb, cc, X[ 7], 8); in _rmd256_compress() [all …]
|
A D | rmd160.c | 160 HH(dd, ee, aa, bb, cc, X[ 3], 11); in _rmd160_compress() 161 HH(cc, dd, ee, aa, bb, X[10], 13); in _rmd160_compress() 162 HH(bb, cc, dd, ee, aa, X[14], 6); in _rmd160_compress() 163 HH(aa, bb, cc, dd, ee, X[ 4], 7); in _rmd160_compress() 164 HH(ee, aa, bb, cc, dd, X[ 9], 14); in _rmd160_compress() 165 HH(dd, ee, aa, bb, cc, X[15], 9); in _rmd160_compress() 166 HH(cc, dd, ee, aa, bb, X[ 8], 13); in _rmd160_compress() 167 HH(bb, cc, dd, ee, aa, X[ 1], 15); in _rmd160_compress() 168 HH(aa, bb, cc, dd, ee, X[ 2], 14); in _rmd160_compress() 169 HH(ee, aa, bb, cc, dd, X[ 7], 8); in _rmd160_compress() [all …]
|
A D | rmd320.c | 56 #define HH(a, b, c, d, e, x, s) \ macro 200 HH(dd, ee, aa, bb, cc, X[ 3], 11); in _rmd320_compress() 201 HH(cc, dd, ee, aa, bb, X[10], 13); in _rmd320_compress() 202 HH(bb, cc, dd, ee, aa, X[14], 6); in _rmd320_compress() 203 HH(aa, bb, cc, dd, ee, X[ 4], 7); in _rmd320_compress() 204 HH(ee, aa, bb, cc, dd, X[ 9], 14); in _rmd320_compress() 205 HH(dd, ee, aa, bb, cc, X[15], 9); in _rmd320_compress() 206 HH(cc, dd, ee, aa, bb, X[ 8], 13); in _rmd320_compress() 207 HH(bb, cc, dd, ee, aa, X[ 1], 15); in _rmd320_compress() 208 HH(aa, bb, cc, dd, ee, X[ 2], 14); in _rmd320_compress() [all …]
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | gcm.c | 124 ctx->HH[8] = vh; in gcm_gen_table() 133 ctx->HH[0] = 0; in gcm_gen_table() 143 ctx->HH[i] = vh; in gcm_gen_table() 148 uint64_t *HiL = ctx->HL + i, *HiH = ctx->HH + i; in gcm_gen_table() 153 HiH[j] = vh ^ ctx->HH[j]; in gcm_gen_table() 226 PUT_UINT32_BE( ctx->HH[8] >> 32, h, 0 ); in gcm_mult() 227 PUT_UINT32_BE( ctx->HH[8], h, 4 ); in gcm_mult() 238 zh = ctx->HH[lo]; in gcm_mult() 252 zh ^= ctx->HH[lo]; in gcm_mult() 261 zh ^= ctx->HH[hi]; in gcm_mult()
|
/optee_os/core/arch/arm/crypto/ |
A D | ghash-ce-core_a64.S | 63 HH .req v16 156 ld1 {HH.2d-HH4.2d}, [x8] 158 trn1 SHASH2.2d, SHASH.2d, HH.2d 159 trn2 T1.2d, SHASH.2d, HH.2d 281 pmull2 XH3.1q, HH.2d, XL3.2d // a1 * b1 282 pmull XL3.1q, HH.1d, XL3.1d // a0 * b0 413 ld1 {HH.2d}, [x4] 422 trn1 SHASH2.2d, SHASH.2d, HH.2d 423 trn2 T1.2d, SHASH.2d, HH.2d 513 pmull2 XH.1q, HH.2d, XL.2d // a1 * b1 [all …]
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | gcm.h | 67 uint64_t HH[16]; /*!< Precalculated HTable high. */ member
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | gcm.h | 67 uint64_t HH[16]; /*!< Precalculated HTable high. */ member
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | gcm.h | 67 uint64_t HH[16]; /*!< Precalculated HTable high. */ member
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | gcm.h | 67 uint64_t HH[16]; /*!< Precalculated HTable high. */ member
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | gcm.h | 67 uint64_t HH[16]; /*!< Precalculated HTable high. */ member
|
/optee_os/core/include/crypto/ |
A D | internal_aes-gcm.h | 21 uint64_t HH[16]; member
|