Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/bcm/
Dcipher.h39 #define GCM_ESP_SALT_SIZE 4 macro
41 #define MAX_SALT_SIZE GCM_ESP_SALT_SIZE
Dcipher.c1369 aead_parms.ret_iv_off = GCM_ESP_SALT_SIZE; in handle_aead_req()
3016 ctx->salt_len = GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
3018 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
3019 keylen -= GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
3022 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
3044 ctx->salt_len = GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
3046 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()
3047 keylen -= GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
3051 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()