Home
last modified time | relevance | path

Searched refs:GCM_ESP_SALT_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/crypto/bcm/
H A Dcipher.h42 #define GCM_ESP_SALT_SIZE 4 macro
44 #define MAX_SALT_SIZE GCM_ESP_SALT_SIZE
H A Dcipher.c1326 aead_parms.ret_iv_off = GCM_ESP_SALT_SIZE; in handle_aead_req()
2901 if (keylen < GCM_ESP_SALT_SIZE) in aead_gcm_esp_setkey()
2904 ctx->salt_len = GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
2906 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
2907 keylen -= GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
2910 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
2933 if (keylen < GCM_ESP_SALT_SIZE) in rfc4543_gcm_esp_setkey()
2936 ctx->salt_len = GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
2938 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()
2939 keylen -= GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
[all …]