Searched refs:ATMEL_ECC_PUBKEY_SIZE (Results 1 – 3 of 3) sorted by relevance
111 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()
27 #define ATMEL_ECC_PUBKEY_SIZE (2 * ATMEL_ECC_NIST_P256_N_SIZE) macro31 #define GENKEY_RSP_SIZE (ATMEL_ECC_PUBKEY_SIZE + \
123 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()