| /src/crypto/external/apache2/openssl/dist/crypto/modes/asm/ |
| ghash-riscv64-zvkg.pl | 64 # void gcm_init_rv64i_zvkg(u128 Htable[16], const u64 H[2]); 65 # void gcm_init_rv64i_zvkg_zvkb(u128 Htable[16], const u64 H[2]); 68 # output: Htable: Copy of secret parameter (in normalized byte order) 73 my ($Htable,$H,$VAL0,$VAL1,$TMP0) = ("a0","a1","a2","a3","t0"); 82 @{[sd_rev8_rv64i $VAL0, $Htable, 0, $TMP0]} 83 @{[sd_rev8_rv64i $VAL1, $Htable, 8, $TMP0]} 90 my ($Htable,$H,$V0) = ("a0","a1","v0"); 100 @{[vse64_v $V0, $Htable]} # vse64.v v0, (a0) 107 # void gcm_gmult_rv64i_zvkg(u64 Xi[2], const u128 Htable[16]); 110 # Htable: copy of [all...] |
| ghash-riscv64-zvkg.pl | 64 # void gcm_init_rv64i_zvkg(u128 Htable[16], const u64 H[2]); 65 # void gcm_init_rv64i_zvkg_zvkb(u128 Htable[16], const u64 H[2]); 68 # output: Htable: Copy of secret parameter (in normalized byte order) 73 my ($Htable,$H,$VAL0,$VAL1,$TMP0) = ("a0","a1","a2","a3","t0"); 82 @{[sd_rev8_rv64i $VAL0, $Htable, 0, $TMP0]} 83 @{[sd_rev8_rv64i $VAL1, $Htable, 8, $TMP0]} 90 my ($Htable,$H,$V0) = ("a0","a1","v0"); 100 @{[vse64_v $V0, $Htable]} # vse64.v v0, (a0) 107 # void gcm_gmult_rv64i_zvkg(u64 Xi[2], const u128 Htable[16]); 110 # Htable: copy of [all...] |
| ghash-ia64.pl | 172 { .mmi; ld8 r`16+2*$i+1`=[r8],16 // Htable[$i].hi 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 174 { .mmi; ldf8 f`32+2*$i+1`=[r10],16 // Htable[`8+$i`].hi 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 223 st8 [r9]=$rhi,16 // Htable[$i].hi 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 226 stf8 [r11]=f`32+2*$i+1`,16 // Htable[`8+$i`].hi 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 229 st8 [r15]=$rhi,16 }//;; // Htable[$i].hi>> [all...] |
| ghash-ia64.pl | 172 { .mmi; ld8 r`16+2*$i+1`=[r8],16 // Htable[$i].hi 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 174 { .mmi; ldf8 f`32+2*$i+1`=[r10],16 // Htable[`8+$i`].hi 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 223 st8 [r9]=$rhi,16 // Htable[$i].hi 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 226 stf8 [r11]=f`32+2*$i+1`,16 // Htable[`8+$i`].hi 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 229 st8 [r15]=$rhi,16 }//;; // Htable[$i].hi>> [all...] |
| ghash-riscv64.pl | 57 # void gcm_init_rv64i_zbc(u128 Htable[16], const u64 H[2]); 58 # void gcm_init_rv64i_zbc__zbb(u128 Htable[16], const u64 H[2]); 59 # void gcm_init_rv64i_zbc__zbkb(u128 Htable[16], const u64 H[2]); 62 # output: Htable: Preprocessed key data for gcm_gmult_rv64i_zbc* and 70 my ($Htable,$H,$VAL0,$VAL1,$TMP0,$TMP1,$TMP2) = ("a0","a1","a2","a3","t0","t1","t2"); 81 @{[sd_rev8_rv64i $VAL0, $Htable, 0, $TMP0]} 82 @{[sd_rev8_rv64i $VAL1, $Htable, 8, $TMP0]} 89 my ($Htable,$H,$VAL0,$VAL1,$TMP0,$TMP1,$TMP2) = ("a0","a1","a2","a3","t0","t1","t2"); 102 sd $VAL0,0($Htable) 103 sd $VAL1,8($Htable) [all...] |
| ghash-riscv64.pl | 57 # void gcm_init_rv64i_zbc(u128 Htable[16], const u64 H[2]); 58 # void gcm_init_rv64i_zbc__zbb(u128 Htable[16], const u64 H[2]); 59 # void gcm_init_rv64i_zbc__zbkb(u128 Htable[16], const u64 H[2]); 62 # output: Htable: Preprocessed key data for gcm_gmult_rv64i_zbc* and 70 my ($Htable,$H,$VAL0,$VAL1,$TMP0,$TMP1,$TMP2) = ("a0","a1","a2","a3","t0","t1","t2"); 81 @{[sd_rev8_rv64i $VAL0, $Htable, 0, $TMP0]} 82 @{[sd_rev8_rv64i $VAL1, $Htable, 8, $TMP0]} 89 my ($Htable,$H,$VAL0,$VAL1,$TMP0,$TMP1,$TMP2) = ("a0","a1","a2","a3","t0","t1","t2"); 102 sd $VAL0,0($Htable) 103 sd $VAL1,8($Htable) [all...] |
| ghash-riscv64-zvkb-zvbc.pl | 62 # void gcm_init_rv64i_zvkb_zvbc(u128 Htable[16], const u64 H[2]); 65 # output: Htable: Preprocessed key data for gcm_gmult_rv64i_zvkb_zvbc and 68 my ($Htable,$H,$TMP0,$TMP1,$TMP2) = ("a0","a1","t0","t1","t2"); 111 @{[vse64_v $V1, $Htable]} # vse64.v v1, (a0) 118 # void gcm_gmult_rv64i_zvkb_zvbc(u64 Xi[2], const u128 Htable[16]); 121 # Htable: preprocessed H 124 my ($Xi,$Htable,$TMP0,$TMP1,$TMP2,$TMP3,$TMP4) = ("a0","a1","t0","t1","t2","t3","t4"); 133 ld $TMP0, ($Htable) 134 ld $TMP1, 8($Htable) 236 # void gcm_ghash_rv64i_zvkb_zvbc(u64 Xi[2], const u128 Htable[16] [all...] |
| ghash-riscv64-zvkb-zvbc.pl | 62 # void gcm_init_rv64i_zvkb_zvbc(u128 Htable[16], const u64 H[2]); 65 # output: Htable: Preprocessed key data for gcm_gmult_rv64i_zvkb_zvbc and 68 my ($Htable,$H,$TMP0,$TMP1,$TMP2) = ("a0","a1","t0","t1","t2"); 111 @{[vse64_v $V1, $Htable]} # vse64.v v1, (a0) 118 # void gcm_gmult_rv64i_zvkb_zvbc(u64 Xi[2], const u128 Htable[16]); 121 # Htable: preprocessed H 124 my ($Xi,$Htable,$TMP0,$TMP1,$TMP2,$TMP3,$TMP4) = ("a0","a1","t0","t1","t2","t3","t4"); 133 ld $TMP0, ($Htable) 134 ld $TMP1, 8($Htable) 236 # void gcm_ghash_rv64i_zvkb_zvbc(u64 Xi[2], const u128 Htable[16] [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/modes/ |
| gcm128.c | 88 static void gcm_init_4bit(u128 Htable[16], const u64 H[2]) 95 Htable[0].hi = 0; 96 Htable[0].lo = 0; 101 for (Htable[8] = V, i = 4; i > 0; i >>= 1) { 103 Htable[i] = V; 107 u128 *Hi = Htable + i; 110 Hi[j].hi = V.hi ^ Htable[j].hi; 111 Hi[j].lo = V.lo ^ Htable[j].lo; 115 Htable[8] = V; 117 Htable[4] = V [all...] |
| gcm128.c | 88 static void gcm_init_4bit(u128 Htable[16], const u64 H[2]) 95 Htable[0].hi = 0; 96 Htable[0].lo = 0; 101 for (Htable[8] = V, i = 4; i > 0; i >>= 1) { 103 Htable[i] = V; 107 u128 *Hi = Htable + i; 110 Hi[j].hi = V.hi ^ Htable[j].hi; 111 Hi[j].lo = V.lo ^ Htable[j].lo; 115 Htable[8] = V; 117 Htable[4] = V [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/modes/ |
| gcm128.c | 80 static void gcm_init_8bit(u128 Htable[256], u64 H[2]) 85 Htable[0].hi = 0; 86 Htable[0].lo = 0; 90 for (Htable[128] = V, i = 64; i > 0; i >>= 1) { 92 Htable[i] = V; 96 u128 *Hi = Htable + i, H0 = *Hi; 98 Hi[j].hi = H0.hi ^ Htable[j].hi; 99 Hi[j].lo = H0.lo ^ Htable[j].lo; 104 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) 178 Z.hi ^= Htable[n].hi [all...] |
| gcm128.c | 80 static void gcm_init_8bit(u128 Htable[256], u64 H[2]) 85 Htable[0].hi = 0; 86 Htable[0].lo = 0; 90 for (Htable[128] = V, i = 64; i > 0; i >>= 1) { 92 Htable[i] = V; 96 u128 *Hi = Htable + i, H0 = *Hi; 98 Hi[j].hi = H0.hi ^ Htable[j].hi; 99 Hi[j].lo = H0.lo ^ Htable[j].lo; 104 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) 178 Z.hi ^= Htable[n].hi [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/modes/ |
| gcm128.c | 78 static void gcm_init_8bit(u128 Htable[256], u64 H[2]) 83 Htable[0].hi = 0; 84 Htable[0].lo = 0; 88 for (Htable[128] = V, i = 64; i > 0; i >>= 1) { 90 Htable[i] = V; 94 u128 *Hi = Htable + i, H0 = *Hi; 96 Hi[j].hi = H0.hi ^ Htable[j].hi; 97 Hi[j].lo = H0.lo ^ Htable[j].lo; 102 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) 179 Z.hi ^= Htable[n].hi [all...] |
| gcm128.c | 78 static void gcm_init_8bit(u128 Htable[256], u64 H[2]) 83 Htable[0].hi = 0; 84 Htable[0].lo = 0; 88 for (Htable[128] = V, i = 64; i > 0; i >>= 1) { 90 Htable[i] = V; 94 u128 *Hi = Htable + i, H0 = *Hi; 96 Hi[j].hi = H0.hi ^ Htable[j].hi; 97 Hi[j].lo = H0.lo ^ Htable[j].lo; 102 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) 179 Z.hi ^= Htable[n].hi [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/modes/asm/ |
| ghash-ia64.pl | 172 { .mmi; ld8 r`16+2*$i+1`=[r8],16 // Htable[$i].hi 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 174 { .mmi; ldf8 f`32+2*$i+1`=[r10],16 // Htable[`8+$i`].hi 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 223 st8 [r9]=$rhi,16 // Htable[$i].hi 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 226 stf8 [r11]=f`32+2*$i+1`,16 // Htable[`8+$i`].hi 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 229 st8 [r15]=$rhi,16 }//;; // Htable[$i].hi>> [all...] |
| ghash-ia64.pl | 172 { .mmi; ld8 r`16+2*$i+1`=[r8],16 // Htable[$i].hi 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 174 { .mmi; ldf8 f`32+2*$i+1`=[r10],16 // Htable[`8+$i`].hi 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 223 st8 [r9]=$rhi,16 // Htable[$i].hi 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 226 stf8 [r11]=f`32+2*$i+1`,16 // Htable[`8+$i`].hi 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 229 st8 [r15]=$rhi,16 }//;; // Htable[$i].hi>> [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/modes/asm/ |
| ghash-ia64.pl | 172 { .mmi; ld8 r`16+2*$i+1`=[r8],16 // Htable[$i].hi 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 174 { .mmi; ldf8 f`32+2*$i+1`=[r10],16 // Htable[`8+$i`].hi 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 223 st8 [r9]=$rhi,16 // Htable[$i].hi 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 226 stf8 [r11]=f`32+2*$i+1`,16 // Htable[`8+$i`].hi 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 229 st8 [r15]=$rhi,16 }//;; // Htable[$i].hi>> [all...] |
| ghash-ia64.pl | 172 { .mmi; ld8 r`16+2*$i+1`=[r8],16 // Htable[$i].hi 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 174 { .mmi; ldf8 f`32+2*$i+1`=[r10],16 // Htable[`8+$i`].hi 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 223 st8 [r9]=$rhi,16 // Htable[$i].hi 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 226 stf8 [r11]=f`32+2*$i+1`,16 // Htable[`8+$i`].hi 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 229 st8 [r15]=$rhi,16 }//;; // Htable[$i].hi>> [all...] |
| /src/crypto/external/apache2/openssl/dist/providers/implementations/ciphers/ |
| cipher_aes_gcm_siv_polyval.c | 61 void ossl_polyval_ghash_init(u128 Htable[16], const uint64_t H[2]) 74 ossl_gcm_init_4bit(Htable, (u64 *)tmp); 78 void ossl_polyval_ghash_hash(const u128 Htable[16], uint8_t *tag, const uint8_t *inp, size_t len) 92 ossl_gcm_ghash_4bit((u64 *)out, Htable, (uint8_t *)tmp, 16);
|
| cipher_aes_gcm_siv_polyval.c | 61 void ossl_polyval_ghash_init(u128 Htable[16], const uint64_t H[2]) 74 ossl_gcm_init_4bit(Htable, (u64 *)tmp); 78 void ossl_polyval_ghash_hash(const u128 Htable[16], uint8_t *tag, const uint8_t *inp, size_t len) 92 ossl_gcm_ghash_4bit((u64 *)out, Htable, (uint8_t *)tmp, 16);
|
| cipher_aes_gcm_siv.h | 47 u128 Htable[16]; /* Polyval calculations via ghash */ 58 void ossl_polyval_ghash_init(u128 Htable[16], const uint64_t H[2]); 59 void ossl_polyval_ghash_hash(const u128 Htable[16], uint8_t *tag, const uint8_t *inp, size_t len);
|
| cipher_aes_gcm_siv.h | 47 u128 Htable[16]; /* Polyval calculations via ghash */ 58 void ossl_polyval_ghash_init(u128 Htable[16], const uint64_t H[2]); 59 void ossl_polyval_ghash_hash(const u128 Htable[16], uint8_t *tag, const uint8_t *inp, size_t len);
|
| cipher_aes_gcm_siv_hw.c | 168 ossl_polyval_ghash_init(ctx->Htable, (const uint64_t *)ctx->msg_auth_key); 172 ossl_polyval_ghash_hash(ctx->Htable, S_s, ctx->aad, UP16(ctx->aad_len)); 175 ossl_polyval_ghash_hash(ctx->Htable, S_s, (uint8_t *)in, DOWN16(len)); 180 ossl_polyval_ghash_hash(ctx->Htable, S_s, padding, sizeof(padding)); 182 ossl_polyval_ghash_hash(ctx->Htable, S_s, (uint8_t *)len_blk, sizeof(len_blk)); 234 ossl_polyval_ghash_init(ctx->Htable, (const uint64_t *)ctx->msg_auth_key); 237 ossl_polyval_ghash_hash(ctx->Htable, S_s, ctx->aad, UP16(ctx->aad_len)); 240 ossl_polyval_ghash_hash(ctx->Htable, S_s, out, DOWN16(len)); 245 ossl_polyval_ghash_hash(ctx->Htable, S_s, (uint8_t *)padding, sizeof(padding)); 247 ossl_polyval_ghash_hash(ctx->Htable, S_s, (uint8_t *)len_blk, TAG_SIZE) [all...] |
| /src/crypto/external/apache2/openssl/dist/include/crypto/ |
| modes.h | 105 typedef void (*gcm_init_fn)(u128 Htable[16], const u64 H[2]); 106 typedef void (*gcm_ghash_fn)(u64 Xi[2], const u128 Htable[16], const u8 *inp, size_t len); 107 typedef void (*gcm_gmult_fn)(u64 Xi[2], const u128 Htable[16]); 123 * Relative position of Yi, EKi, EK0, len, Xi, H and pre-computed Htable is 126 u128 Htable[16]; 137 void ossl_gcm_init_4bit(u128 Htable[16], const u64 H[2]); 138 void ossl_gcm_ghash_4bit(u64 Xi[2], const u128 Htable[16], 140 void ossl_gcm_gmult_4bit(u64 Xi[2], const u128 Htable[16]);
|
| modes.h | 105 typedef void (*gcm_init_fn)(u128 Htable[16], const u64 H[2]); 106 typedef void (*gcm_ghash_fn)(u64 Xi[2], const u128 Htable[16], const u8 *inp, size_t len); 107 typedef void (*gcm_gmult_fn)(u64 Xi[2], const u128 Htable[16]); 123 * Relative position of Yi, EKi, EK0, len, Xi, H and pre-computed Htable is 126 u128 Htable[16]; 137 void ossl_gcm_init_4bit(u128 Htable[16], const u64 H[2]); 138 void ossl_gcm_ghash_4bit(u64 Xi[2], const u128 Htable[16], 140 void ossl_gcm_gmult_4bit(u64 Xi[2], const u128 Htable[16]);
|