Home
last modified time | relevance | path

Searched refs:key2_len (Results 1 – 22 of 22) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/crypto_api/cipher/
A Dcipher.c76 size_t key2_len, const uint8_t *iv, size_t iv_len) in cipher_init() argument
81 if ((!key1 && key1_len) || (!key2 && key2_len) || (!iv && iv_len)) { in cipher_init()
96 .key2.length = key2_len, in cipher_init()
/optee_os-3.20.0/core/pta/tests/
A Daes_perf.c59 size_t key2_len = 0; in init_ctx() local
72 key2_len = key_len; in init_ctx()
99 key2_len, iv, iv_len); in init_ctx()
/optee_os-3.20.0/core/crypto/
A Daes-cts.c52 size_t key2_len, const uint8_t *iv, size_t iv_len) in cts_init() argument
59 res = crypto_cipher_init(c->ecb, mode, key1, key1_len, key2, key2_len, in cts_init()
64 return crypto_cipher_init(c->cbc, mode, key1, key1_len, key2, key2_len, in cts_init()
A Dsm4-xts.c36 size_t key2_len, const uint8_t *iv, in sm4_xts_init() argument
41 if (key1_len != 16 || key2_len != 16 || iv_len != sizeof(c->iv)) in sm4_xts_init()
A Dsm4-ecb.c33 size_t key2_len __unused, in sm4_ecb_init()
A Dsm4-ctr.c36 size_t key2_len __unused, in sm4_ctr_init()
A Dsm4-cbc.c35 size_t key2_len __unused, in sm4_cbc_init()
A Dcrypto.c182 const uint8_t *key2, size_t key2_len, in crypto_cipher_init() argument
188 return cipher_ops(ctx)->init(ctx, mode, key1, key1_len, key2, key2_len, in crypto_cipher_init()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dxts.c38 size_t key2_len __unused, in ltc_xts_init()
44 if (key1_len != key2_len) in ltc_xts_init()
A Dctr.c34 size_t key2_len __unused, in ltc_ctr_init()
A Dcbc.c37 size_t key2_len __unused, in ltc_cbc_init()
A Decb.c37 size_t key2_len __unused, in ltc_ecb_init()
/optee_os-3.20.0/lib/libmbedtls/core/
A Ddes_ecb.c35 size_t key2_len __unused, in mbed_des_ecb_init()
A Ddes3_ecb.c35 size_t key2_len __unused, in mbed_des3_ecb_init()
A Ddes_cbc.c37 size_t key2_len __unused, in mbed_des_cbc_init()
A Daes_ecb.c40 size_t key2_len __unused, in mbed_aes_ecb_init()
A Ddes3_cbc.c37 size_t key2_len __unused, in mbed_des3_cbc_init()
A Daes_cbc.c41 size_t key2_len __unused, in mbed_aes_cbc_init()
A Daes_ctr.c42 size_t key2_len __unused, in mbed_aes_ctr_init()
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dctr.c35 size_t key2_len __unused, in se050_aes_ctr_init()
/optee_os-3.20.0/core/include/crypto/
A Dcrypto.h42 const uint8_t *key2, size_t key2_len,
A Dcrypto_impl.h157 const uint8_t *key2, size_t key2_len,

Completed in 19 milliseconds