MCPcopy Index your code
hub / github.com/bcrypt-ruby/bcrypt-ruby / streamtoword

Method streamtoword

ext/jruby/bcrypt_jruby/BCrypt.java:544–547  ·  view source on GitHub ↗

Cycically extract a word of key material @param data the string to extract the data from @param offp a "pointer" (as a one-entry array) to the current offset into data @return the next word of material from data

(byte data[], int offp[])

Source from the content-addressed store, hash-verified

542 * @return the next word of material from data
543 */
544 private static int streamtoword(byte data[], int offp[]) {
545 int signp[] = { 0 };
546 return streamtowords(data, offp, signp)[0];
547 }
548
549 /**
550 * Cycically extract a word of key material, with sign-extension bug

Callers 2

keyMethod · 0.95
ekskeyMethod · 0.95

Calls 1

streamtowordsMethod · 0.95

Tested by

no test coverage detected