Lines Matching full:algorithm
593 int bt_mesh_prov_salt(uint8_t algorithm, in bt_mesh_prov_salt() argument
599 uint8_t size = algorithm ? 32 : 16; in bt_mesh_prov_salt()
610 int bt_mesh_prov_conf_salt(uint8_t algorithm, const uint8_t conf_inputs[145], in bt_mesh_prov_conf_salt() argument
613 if (algorithm == BT_MESH_PROV_AUTH_HMAC_SHA256_AES_CCM && in bt_mesh_prov_conf_salt()
619 if (algorithm == BT_MESH_PROV_AUTH_CMAC_AES128_AES_CCM && in bt_mesh_prov_conf_salt()
628 int bt_mesh_prov_conf_key(uint8_t algorithm, const uint8_t *k_input, in bt_mesh_prov_conf_key() argument
631 if (algorithm == BT_MESH_PROV_AUTH_HMAC_SHA256_AES_CCM && in bt_mesh_prov_conf_key()
637 if (algorithm == BT_MESH_PROV_AUTH_CMAC_AES128_AES_CCM && in bt_mesh_prov_conf_key()
646 int bt_mesh_prov_conf(uint8_t algorithm, const uint8_t *conf_key, in bt_mesh_prov_conf() argument
649 uint8_t auth_size = algorithm ? 32 : 16; in bt_mesh_prov_conf()
655 if (algorithm == BT_MESH_PROV_AUTH_HMAC_SHA256_AES_CCM && in bt_mesh_prov_conf()
661 if (algorithm == BT_MESH_PROV_AUTH_CMAC_AES128_AES_CCM && in bt_mesh_prov_conf()