Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/bcm/
Dcipher.h52 #define GCM_ESP_SALT_SIZE 4 macro
54 #define MAX_SALT_SIZE GCM_ESP_SALT_SIZE
Dcipher.c1380 aead_parms.ret_iv_off = GCM_ESP_SALT_SIZE; in handle_aead_req()
3081 ctx->salt_len = GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
3083 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
3084 keylen -= GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
3087 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
3109 ctx->salt_len = GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
3111 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()
3112 keylen -= GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
3116 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()