Searched refs:SRTP_SALT_LEN (Results 1 – 5 of 5) sorted by relevance
225 memcpy(&c->counter, key + c->key_size, SRTP_SALT_LEN); in srtp_aes_icm_openssl_context_init()226 memcpy(&c->offset, key + c->key_size, SRTP_SALT_LEN); in srtp_aes_icm_openssl_context_init()229 c->offset.v8[SRTP_SALT_LEN] = c->offset.v8[SRTP_SALT_LEN + 1] = 0; in srtp_aes_icm_openssl_context_init()230 c->counter.v8[SRTP_SALT_LEN] = c->counter.v8[SRTP_SALT_LEN + 1] = 0; in srtp_aes_icm_openssl_context_init()
234 memcpy(&c->counter, key + c->key_size, SRTP_SALT_LEN); in srtp_aes_icm_nss_context_init()235 memcpy(&c->offset, key + c->key_size, SRTP_SALT_LEN); in srtp_aes_icm_nss_context_init()238 c->offset.v8[SRTP_SALT_LEN] = c->offset.v8[SRTP_SALT_LEN + 1] = 0; in srtp_aes_icm_nss_context_init()239 c->counter.v8[SRTP_SALT_LEN] = c->counter.v8[SRTP_SALT_LEN + 1] = 0; in srtp_aes_icm_nss_context_init()
188 base_key_len = c->key_size - SRTP_SALT_LEN; in srtp_aes_icm_context_init()203 if (copy_len > SRTP_SALT_LEN) { in srtp_aes_icm_context_init()204 copy_len = SRTP_SALT_LEN; in srtp_aes_icm_context_init()
103 #define SRTP_SALT_LEN 14 macro116 #define SRTP_AES_ICM_128_KEY_LEN_WSALT (SRTP_SALT_LEN + SRTP_AES_128_KEY_LEN)117 #define SRTP_AES_ICM_192_KEY_LEN_WSALT (SRTP_SALT_LEN + SRTP_AES_192_KEY_LEN)118 #define SRTP_AES_ICM_256_KEY_LEN_WSALT (SRTP_SALT_LEN + SRTP_AES_256_KEY_LEN)
764 return key_length - SRTP_SALT_LEN; in base_key_length()4526 return SRTP_SALT_LEN; in srtp_profile_get_master_salt_length()4529 return SRTP_SALT_LEN; in srtp_profile_get_master_salt_length()4532 return SRTP_SALT_LEN; in srtp_profile_get_master_salt_length()