Home
last modified time | relevance | path

Searched refs:subkey (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/stream/salsa20/
A Dxsalsa20_setup.c67 unsigned char subkey[32]; in xsalsa20_setup() local
101 STORE32L(x[sti[i]], subkey + 4 * i); in xsalsa20_setup()
109 LOAD32L(st->input[ 1], subkey + 0); in xsalsa20_setup()
110 LOAD32L(st->input[ 2], subkey + 4); in xsalsa20_setup()
111 LOAD32L(st->input[ 3], subkey + 8); in xsalsa20_setup()
112 LOAD32L(st->input[ 4], subkey + 12); in xsalsa20_setup()
113 LOAD32L(st->input[11], subkey + 16); in xsalsa20_setup()
114 LOAD32L(st->input[12], subkey + 20); in xsalsa20_setup()
115 LOAD32L(st->input[13], subkey + 24); in xsalsa20_setup()
116 LOAD32L(st->input[14], subkey + 28); in xsalsa20_setup()
[all …]
/optee_os/core/kernel/
A Dhuk_subkey.c63 uint8_t *subkey, size_t subkey_len) in huk_subkey_derive() argument
100 res = crypto_mac_final(ctx, subkey, subkey_len); in huk_subkey_derive()
103 memzero_explicit(subkey, subkey_len); in huk_subkey_derive()
/optee_os/core/lib/libtomcrypt/src/ciphers/
A Dkasumi.c38 static u16 FI( u16 in, u16 subkey ) in FI() argument
93 seven ^= (subkey>>9); in FI()
94 nine ^= (subkey&0x1FF); in FI()
/optee_os/core/include/kernel/
A Dhuk_subkey.h57 uint8_t *subkey, size_t subkey_len);

Completed in 6 milliseconds