Lines Matching refs:GCM_ESP_SALT_SIZE
1326 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()
2943 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()