Searched refs:k1 (Results 1 – 7 of 7) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/xcbc/ |
A D | xcbc_init.c | 23 unsigned long k1; in xcbc_init() local 49 k1 = keylen - 2*cipher_descriptor[cipher]->block_length; in xcbc_init() 50 XMEMCPY(xcbc->K[0], key, k1); in xcbc_init() 51 XMEMCPY(xcbc->K[1], key+k1, cipher_descriptor[cipher]->block_length); in xcbc_init() 52 …XMEMCPY(xcbc->K[2], key+k1 + cipher_descriptor[cipher]->block_length, cipher_descriptor[cipher]->b… in xcbc_init() 55 k1 = cipher_descriptor[cipher]->block_length; in xcbc_init() 77 err = cipher_descriptor[cipher]->setup(xcbc->K[0], k1, 0, &xcbc->key); in xcbc_init()
|
/optee_os-3.20.0/core/arch/arm/crypto/ |
A D | sha1_armv8a_ce_a32.S | 13 k1 .req q1 55 vld1.32 {k0-k1}, [r3]! 78 add_update c, 0, k1, 8, 9, 10, 11 80 add_update p, 1, k1, 9, 10, 11, 8 81 add_update p, 0, k1, 10, 11, 8, 9 82 add_update p, 1, k1, 11, 8, 9, 10 83 add_update p, 0, k1, 8, 9, 10, 11
|
A D | sha1_armv8a_ce_a64.S | 14 k1 .req v1 64 ld1r {k1.4s}, [x6], #4 88 add_update c, ev, k1, 8, 9, 10, 11 90 add_update p, od, k1, 9, 10, 11, 8 91 add_update p, ev, k1, 10, 11, 8, 9 92 add_update p, od, k1, 11, 8, 9, 10 93 add_update p, ev, k1, 8, 9, 10, 11
|
A D | sha256_armv8a_ce_a32.S | 13 k1 .req q8
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | kseed.c | 197 ulong32 tmp, k1, k2, k3, k4; in kseed_setup() local 208 LOAD32H(k1, key); in kseed_setup() 214 skey->kseed.K[2*i+0] = G(k1 + k3 - KCi[i]); in kseed_setup() 221 tmp = k1; in kseed_setup() 222 k1 = ((k1 >> 8) | (k2 << 24)) & 0xFFFFFFFF; in kseed_setup()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rabbit/ |
A D | rabbit.c | 149 ulong32 k0, k1, k2, k3, i; in rabbit_setup() local 164 LOAD32L(k1, tmpkey+ 4); in rabbit_setup() 175 st->master_ctx.x[2] = k1; in rabbit_setup() 180 st->master_ctx.x[5] = (ulong32)(k1<<16) | (k0>>16); in rabbit_setup() 181 st->master_ctx.x[7] = (ulong32)(k2<<16) | (k1>>16); in rabbit_setup() 187 st->master_ctx.c[6] = ROLc(k1, 16); in rabbit_setup() 188 st->master_ctx.c[1] = (k0&0xFFFF0000) | (k1&0xFFFF); in rabbit_setup() 189 st->master_ctx.c[3] = (k1&0xFFFF0000) | (k2&0xFFFF); in rabbit_setup()
|
/optee_os-3.20.0/core/drivers/imx/dcp/ |
A D | dcp.c | 193 uint8_t *k1, uint8_t *k2) in dcp_cmac_subkey_generation() argument 211 dcp_left_shift_buffer(l, k1, 16); in dcp_cmac_subkey_generation() 214 dcp_xor(tmp, const_rb, k1, 16); in dcp_cmac_subkey_generation() 217 if ((k1[0] & BIT(7)) == 0) { in dcp_cmac_subkey_generation() 218 dcp_left_shift_buffer(k1, k2, 16); in dcp_cmac_subkey_generation() 220 dcp_left_shift_buffer(k1, tmp, 16); in dcp_cmac_subkey_generation()
|
Completed in 8 milliseconds