Home
last modified time | relevance | path

Searched refs:kc (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/crypto/se050/adaptors/utils/
A Dscp_config.c162 static sss_status_t encrypt_key_and_get_kcv(uint8_t *enc, uint8_t *kc, in encrypt_key_and_get_kcv() argument
201 st = sss_se05x_cipher_one_go(&symm, NULL, 0, ones, kc, kc_len); in encrypt_key_and_get_kcv()
230 uint8_t kc[AES_KEY_LEN_nBYTE] = { 0 }; in prepare_key_data() local
238 status = encrypt_key_and_get_kcv(&cmd[3], kc, key, ctx, id); in prepare_key_data()
242 memcpy(&cmd[3 + AES_KEY_LEN_nBYTE + 1], kc, CRYPTO_KEY_CHECK_LEN); in prepare_key_data()
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c220 st->kc[i ++] = r ## d0; \ in sosemanuk_setup()
221 st->kc[i ++] = r ## d1; \ in sosemanuk_setup()
222 st->kc[i ++] = r ## d2; \ in sosemanuk_setup()
223 st->kc[i ++] = r ## d3; \ in sosemanuk_setup()
345 x0 ^= st->kc[(zc)]; \ in sosemanuk_setiv()
346 x1 ^= st->kc[(zc) + 1]; \ in sosemanuk_setiv()
347 x2 ^= st->kc[(zc) + 2]; \ in sosemanuk_setiv()
348 x3 ^= st->kc[(zc) + 3]; \ in sosemanuk_setiv()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h1056 ulong32 kc[100]; /* key_context */ member

Completed in 11 milliseconds