Skip to content

Commit 3d4300e

Browse files
committed
Fix formatting
1 parent 159250d commit 3d4300e

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

crypto/cipher/aes_gcm_nss.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ static srtp_err_status_t srtp_aes_gcm_nss_context_init(void *cv,
222222
* Note: the caller is now responsible for the proper FIPS usage of the
223223
* key material!
224224
*/
225-
c->key = import_sym_key_in_FIPS(slot, CKM_AES_GCM, CKA_ENCRYPT, &key_item);
225+
c->key =
226+
import_sym_key_in_FIPS(slot, CKM_AES_GCM, CKA_ENCRYPT, &key_item);
226227
} else {
227228
c->key = PK11_ImportSymKey(slot, CKM_AES_GCM, PK11_OriginUnwrap,
228229
CKA_ENCRYPT, &key_item, NULL);

crypto/cipher/aes_icm_nss.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ static srtp_err_status_t srtp_aes_icm_nss_context_init(void *cv,
263263
* Note: the caller is now responsible for the proper FIPS usage of the
264264
* key material!
265265
*/
266-
c->key = import_sym_key_in_FIPS(slot, CKM_AES_CTR, CKA_ENCRYPT, &keyItem);
266+
c->key =
267+
import_sym_key_in_FIPS(slot, CKM_AES_CTR, CKA_ENCRYPT, &keyItem);
267268
} else {
268269
c->key = PK11_ImportSymKey(slot, CKM_AES_CTR, PK11_OriginUnwrap,
269270
CKA_ENCRYPT, &keyItem, NULL);

crypto/hash/hmac_nss.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ static srtp_err_status_t srtp_hmac_init(void *statev,
195195
* Note: the caller is now responsible for the proper FIPS usage of the
196196
* key material!
197197
*/
198-
sym_key = import_sym_key_in_FIPS(
199-
slot, CKM_SHA_1_HMAC, CKA_SIGN, &key_item);
198+
sym_key =
199+
import_sym_key_in_FIPS(slot, CKM_SHA_1_HMAC, CKA_SIGN, &key_item);
200200
} else {
201201
sym_key = PK11_ImportSymKey(slot, CKM_SHA_1_HMAC, PK11_OriginUnwrap,
202202
CKA_SIGN, &key_item, NULL);

0 commit comments

Comments
 (0)