Lines Matching refs:public_key_info

148   const uint8_t public_key_info[294] = {  in TEST()  local
195 sizeof(signature), public_key_info, in TEST()
196 sizeof(public_key_info)); in TEST()
205 sizeof(signature), public_key_info, in TEST()
206 sizeof(public_key_info)); in TEST()
219 sizeof(signature), public_key_info, in TEST()
220 sizeof(public_key_info)); in TEST()
232 public_key_info, sizeof(public_key_info)); in TEST()
243 uint8_t bad_public_key_info[sizeof(public_key_info)]; in TEST()
244 memcpy(bad_public_key_info, public_key_info, sizeof(public_key_info)); in TEST()
252 uint8_t long_public_key_info[sizeof(public_key_info) + 5]; in TEST()
254 memcpy(long_public_key_info, public_key_info, sizeof(public_key_info)); in TEST()
1000 std::vector<uint8_t>* public_key_info) { in EncodeRSAPublicKey() argument
1019 public_key_info->clear(); in EncodeRSAPublicKey()
1022 public_key_info->insert(public_key_info->begin(), in EncodeRSAPublicKey()
1025 PrependASN1Length(public_key_info, public_exponent_e.size()); in EncodeRSAPublicKey()
1026 public_key_info->insert(public_key_info->begin(), kIntegerTag); in EncodeRSAPublicKey()
1029 public_key_info->insert(public_key_info->begin(), in EncodeRSAPublicKey()
1033 public_key_info->insert(public_key_info->begin(), 0x00); in EncodeRSAPublicKey()
1036 PrependASN1Length(public_key_info, modulus_size); in EncodeRSAPublicKey()
1037 public_key_info->insert(public_key_info->begin(), kIntegerTag); in EncodeRSAPublicKey()
1040 PrependASN1Length(public_key_info, public_key_info->size()); in EncodeRSAPublicKey()
1041 public_key_info->insert(public_key_info->begin(), kSequenceTag); in EncodeRSAPublicKey()
1045 public_key_info->insert(public_key_info->begin(), 0x00); in EncodeRSAPublicKey()
1046 PrependASN1Length(public_key_info, public_key_info->size()); in EncodeRSAPublicKey()
1047 public_key_info->insert(public_key_info->begin(), kBitStringTag); in EncodeRSAPublicKey()
1055 public_key_info->insert(public_key_info->begin(), in EncodeRSAPublicKey()
1059 PrependASN1Length(public_key_info, public_key_info->size()); in EncodeRSAPublicKey()
1060 public_key_info->insert(public_key_info->begin(), kSequenceTag); in EncodeRSAPublicKey()
1073 std::vector<uint8_t> public_key_info; in TEST() local
1075 &public_key_info)); in TEST()
1095 &public_key_info[0], in TEST()
1096 public_key_info.size()); in TEST()
1107 &public_key_info[0], in TEST()
1108 public_key_info.size()); in TEST()
1122 &public_key_info[0], in TEST()
1123 public_key_info.size()); in TEST()
1135 &public_key_info[0], in TEST()
1136 public_key_info.size()); in TEST()