Lines Matching refs:GCM_ESP_SALT_SIZE
1331 aead_parms.ret_iv_off = GCM_ESP_SALT_SIZE; in handle_aead_req()
2903 if (keylen < GCM_ESP_SALT_SIZE) in aead_gcm_esp_setkey()
2906 ctx->salt_len = GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
2908 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
2909 keylen -= GCM_ESP_SALT_SIZE; in aead_gcm_esp_setkey()
2912 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in aead_gcm_esp_setkey()
2935 if (keylen < GCM_ESP_SALT_SIZE) in rfc4543_gcm_esp_setkey()
2938 ctx->salt_len = GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
2940 memcpy(ctx->salt, key + keylen - GCM_ESP_SALT_SIZE, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()
2941 keylen -= GCM_ESP_SALT_SIZE; in rfc4543_gcm_esp_setkey()
2945 flow_dump("salt: ", ctx->salt, GCM_ESP_SALT_SIZE); in rfc4543_gcm_esp_setkey()