Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/salsa20/
A Dxsalsa20_setup.c60 unsigned char subkey[32]; in xsalsa20_setup() local
94 STORE32L(x[sti[i]], subkey + 4 * i); in xsalsa20_setup()
102 LOAD32L(st->input[ 1], subkey + 0); in xsalsa20_setup()
103 LOAD32L(st->input[ 2], subkey + 4); in xsalsa20_setup()
104 LOAD32L(st->input[ 3], subkey + 8); in xsalsa20_setup()
105 LOAD32L(st->input[ 4], subkey + 12); in xsalsa20_setup()
106 LOAD32L(st->input[11], subkey + 16); in xsalsa20_setup()
107 LOAD32L(st->input[12], subkey + 20); in xsalsa20_setup()
108 LOAD32L(st->input[13], subkey + 24); in xsalsa20_setup()
109 LOAD32L(st->input[14], subkey + 28); in xsalsa20_setup()
[all …]
/optee_os-3.20.0/core/crypto/
A Dsigned_hdr.c120 for (n = 0; n < subkey->attr_count; n++) in find_attr()
121 if (subkey->attrs[n].id == id) in find_attr()
122 return subkey->attrs + n; in find_attr()
177 for (n = 0; n < subkey->attr_count; n++) in check_attrs()
251 struct shdr_subkey *subkey = NULL; in shdr_load_pub_key() local
261 if (shdr->img_size < sizeof(*subkey)) in shdr_load_pub_key()
271 subkey = (void *)(img + shdr->hash_size); in shdr_load_pub_key()
288 res = check_attrs(subkey, shdr->img_size); in shdr_load_pub_key()
292 if (subkey->max_depth >= max_depth) { in shdr_load_pub_key()
301 key->max_depth = subkey->max_depth; in shdr_load_pub_key()
[all …]
/optee_os-3.20.0/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-3.20.0/core/include/kernel/
A Dhuk_subkey.h57 uint8_t *subkey, size_t subkey_len);
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/
A Dkasumi.c31 static u16 FI( u16 in, u16 subkey ) in FI() argument
86 seven ^= (subkey>>9); in FI()
87 nine ^= (subkey&0x1FF); in FI()
/optee_os-3.20.0/scripts/
A Dsign_encrypt.py840 if args.subkey:
841 ta_image.add_subkey(args.subkey, args.name)
849 if args.subkey:
850 image.add_subkey(args.subkey, args.name)

Completed in 7 milliseconds