Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/
Datmel-ecc.c111 public_key = kmalloc(ATMEL_ECC_PUBKEY_SIZE, GFP_KERNEL); in atmel_ecdh_set_secret()
124 memcpy(public_key, &cmd->data[RSP_DATA_IDX], ATMEL_ECC_PUBKEY_SIZE); in atmel_ecdh_set_secret()
153 nbytes = min_t(size_t, ATMEL_ECC_PUBKEY_SIZE, req->dst_len); in atmel_ecdh_generate_public_key()
179 if (req->src_len != ATMEL_ECC_PUBKEY_SIZE) in atmel_ecdh_compute_shared_secret()
294 return ATMEL_ECC_PUBKEY_SIZE; in atmel_ecdh_max_size()
Datmel-i2c.h27 #define ATMEL_ECC_PUBKEY_SIZE (2 * ATMEL_ECC_NIST_P256_N_SIZE) macro
31 #define GENKEY_RSP_SIZE (ATMEL_ECC_PUBKEY_SIZE + \
Datmel-i2c.c123 ATMEL_ECC_PUBKEY_SIZE), in atmel_i2c_init_ecdh_cmd()
124 cmd->data, ATMEL_ECC_PUBKEY_SIZE); in atmel_i2c_init_ecdh_cmd()
125 if (copied != ATMEL_ECC_PUBKEY_SIZE) in atmel_i2c_init_ecdh_cmd()